package com.misty.proxy_pattern.client1_static;

public class OrderServiceImpl implements IOrderService {

    private IOrderDao dao;

    @Override
    public int saveOrder(Order order) {
        dao = new OrderDaoImpl();
        System.out.println("业务层保存方法");
        return dao.insert(order);
    }
}
